package com.ruoyi.yun.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆离线登记对象 yun_profile_caroffline
 * 
 * @author ruoyi
 * @date 2023-10-24
 */
public class YunProfileCaroffline extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String licenseNum;

    /** 车牌颜色 */
    @Excel(name = "车牌颜色")
    private String licenseColor;

    /** 所属业户 */
    @Excel(name = "所属业户")
    private String seiAccount;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 剩余天数 */
    @Excel(name = "剩余天数")
    private String raiDay;

    /** 离线原因 */
    @Excel(name = "离线原因")
    private String reason;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLicenseNum(String licenseNum) 
    {
        this.licenseNum = licenseNum;
    }

    public String getLicenseNum() 
    {
        return licenseNum;
    }
    public void setLicenseColor(String licenseColor) 
    {
        this.licenseColor = licenseColor;
    }

    public String getLicenseColor() 
    {
        return licenseColor;
    }
    public void setSeiAccount(String seiAccount) 
    {
        this.seiAccount = seiAccount;
    }

    public String getSeiAccount() 
    {
        return seiAccount;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setRaiDay(String raiDay) 
    {
        this.raiDay = raiDay;
    }

    public String getRaiDay() 
    {
        return raiDay;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("licenseNum", getLicenseNum())
            .append("licenseColor", getLicenseColor())
            .append("seiAccount", getSeiAccount())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("raiDay", getRaiDay())
            .append("reason", getReason())
            .toString();
    }
}
